package com.fishery.authority;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author 白sa能
 * @className
 * @date Created in 9:21 AM 1/15/21
 * @package com.fishery.authority
 * @Description
 */
@SpringBootApplication
@MapperScan("com.fishery.authority.mapper")
@ComponentScan(basePackages = {"com.fishery"})
@EnableFeignClients
@EnableDiscoveryClient
@ComponentScan("com.fishery")
public class AuthorityApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthorityApplication.class, args);
    }
}
